setListenerForTransitionEnd
Set a listener for Transition end events. The default behavior immediately completes the transition.
Parameters
The first fragment that is exiting
all transitions to be executed on a single container
used indicate the desired behavior on transition cancellation
used to notify the FragmentManager when a transition is complete
Set a listener for Transition end events. The default behavior immediately completes the transition. Use this when the given transition is seeking. The cancelRunnable should handle cleaning up the transition when seeking is cancelled. If the transition is not seeking, you should use setListenerForTransitionEnd.
Parameters
The first fragment that is exiting
all transitions to be executed on a single container
used indicate the desired behavior on transition cancellation
runnable to handle the logic when the signal is cancelled
used to notify the FragmentManager when a transition is complete